-- GENERATED SPELL FOR [The Big Gun] --


function spell0_24992(pUnit, Event) --@Cannon Assault,n/a--
pUnit:FullCastSpellOnTarget(45008,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_24992', 575, 1)
end

function Sorts_24992(pUnit, Event)
local choix_sorts_24992 = math.random(0, 0)
if choix_sorts_24992 == 0 then
pUnit:RegisterEvent('spell0_24992', 1, 1)
end
end

function mob24992_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_24992', math.random(1500, 3000), 1)
end

function mob24992_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob24992_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob24992_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(24992, 1, 'mob24992_Action')
RegisterUnitEvent(24992, 2, 'mob24992_Leave')
RegisterUnitEvent(24992, 3, 'mob24992_Kill')
RegisterUnitEvent(24992, 4, 'mob24992_Die')
